package com.andy.mvp.test.dagger;

import com.andy.mvp.MainActivity;
import com.andy.mvp.test.precenter.GirlPresenter;

import dagger.Module;
import dagger.Provides;

/**
 * @version V1.0
 * @描述:
 * @Company:
 * @auth: Created by AN .
 * @time: 2020/3/27 17:13
 * @des
 */
@Module
public class GirlPresentModules {
    MainActivity mainActivity;

    public GirlPresentModules(MainActivity mainActivity) {
        this.mainActivity = mainActivity;
    }

    @Provides
    public GirlPresenter providerGirlPresenter(){
        return new GirlPresenter(mainActivity);
    }

}
